/**
 * @program: planet-company
 * @description:
 * @author: jyz
 * @create: 2019-06-18 16:57
 **/
public class ProductTest {

    public static void main(String[] args) {
        SimplePizzaFactory simplePizzaFactory = new SimplePizzaFactory();
        ProductStore productStore = new ProductStore(simplePizzaFactory);
        productStore.orderPizza("cheese");
        productStore.orderPizza("clam");


//        SimplePizzaFactory simplePizzaFactory = new SimplePizzaFactory();
//        MyFactoryInterface myFactoryInterface = simplePizzaFactory.createPizza("clam");
//        myFactoryInterface.prepare();
//        myFactoryInterface.bake();
//        myFactoryInterface.box();
//        myFactoryInterface.cut();
    }
}
